package com.movie.service.Impl;

import com.movie.beans.dto.ChartPoint;
import com.movie.beans.dto.ChartRate;
import com.movie.dao.ChartDAO;
import com.movie.service.ChartService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ChartServiceImpl implements ChartService {
    @Resource
    private ChartDAO chartDAO;

    @Override
    public List<ChartRate> selectChartRate() {
        return chartDAO.selectChartRate();
    }

    @Override
    public List<ChartPoint> selectChartPoint() {
        return chartDAO.selectChartPoint();
    }
}
